/*
 * Abc.h
 *
 *  Created on: Feb 16, 2013
 *      Author: w1084063
 */

#include <iostream>

#ifndef ABC_H_
#define ABC_H_

class Abc {
public:
	Abc();
	Abc(int , double );
	int getI(){ return idata; }
	double getD(){ return ddata; }
	const Abc& operator +( const Abc& op) const;
	friend std::ostream& operator <<( std::ostream& , const Abc& );
	virtual ~Abc();
private:
	int idata;
	double ddata;
};

#endif /* ABC_H_ */
